import request from '../utils/request'

export const GetTaskManagement = (params) => {
    return request(`/api/querytasksituation`,{
        params
    })
  }

  //export const GetTaskManagementDetail = (params) => {
    //return request(`/api/queryTaskDetail`, {
      //params
    //})
  //}

  export const GetTaskManagementDetail2 = (params) => {
    return request(`/api/stafftask_detail`, {
      params
    })
  }

  export const GetTaskManagementCheck = (data) => {
    return request(`/api/updateSupervisionTask`, {
      method: 'put',
      data
    })
  }

export const DeleteTaskCode = (params) =>{
  return request(`/api/deleteTaskByCode`,{
    method: 'delete',
    params
  })
}
